package com.tsing.cedap.rest.vo.respVo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author TheTsing
 * @create 2022-03-24 11:05
 */
@Getter
@Setter
@Accessors(chain = true)
public class UserPageRespVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("是否启用")
    private Boolean enabled;

    @ApiModelProperty("角色：1 双端  2 小程序")
    private Integer role;

    @NotBlank(message = "学号")
    private String number;

    @NotBlank(message = "备注")
    private String description;

    @NotBlank(message = "是否注册服务人员 0 不是  1 审核中  2 是")
    private String isRider;

    @NotBlank(message = "学院")
    private String college;


}
